package com.example.service;
import com.example.microinvestcommon.entity.UserOrder;
import com.example.microinvestcommon.pojo.Result;
import com.example.microinvestcommon.vo.UserOrderVo;


public interface UserTradeService {
    //创建购买订单交易
    Result<String> createBuyTradeService(UserOrder userOrder,double nowPrice);

    //创建卖出订单交易
    Result<String> createSellTradeService(UserOrder userOrder,double nowPrice);

    //写入全部记录
    void addBuyTradeService(UserOrder userOrder);

    void addSellTradeService(UserOrder userOrder);



}
